let BaseController = require("./BaseController");

const UserController = {

    getUserInfo: (request, response) => {
        BaseController.get(request, response, () => {
            return {
                username: "Wang",
                age: 29,
                sex: "男"
            }
        })
    },
    createUser: (request, response) => {
        BaseController.post(request, response, () => {
            return {
                username: "Zhang",
                age: 29,
                sex: "男"
            }
        })
    }
}

module.exports = UserController
